package com.zhoudy.mpstudy;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.*;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {

    @Select("${selSql}")
    List<User> queryBySql(@Param("selSql") String selSql);

    @Insert("${intSql}")
    int addBySql(@Param("intSql") String intSql);

    @Update("${updSql}")
    int updBySql(@Param("updSql") String updSql);

    @Delete("${delSql}")
    int delBySql(@Param("delSql") String delSql);


}